export function assign(target, source) {
	for (var obj in source) {
		if (typeof source[obj] == "object" && typeof target[obj] == "object" && source[obj]) {
			assign(target[obj], source[obj]);
		} else {
			if (source[obj] || source[obj] == 0) {
				target[obj] = source[obj];
			}
		}
	}
	return target;
}
